package com.appkubes.fintech.restful.application.rent.service;


import com.appkubes.fintech.common.response.Response;
import com.appkubes.fintech.core.po.FintechRentBillHeader;
import com.appkubes.fintech.core.po.FintechRentBillLines;
import com.appkubes.fintech.core.po.FintechRentRepayOrder;
import com.appkubes.fintech.core.po.FintechUserBaseInfo;
import com.appkubes.fintech.restful.application.rent.request.RepayBeforeRequest;
import com.appkubes.fintech.restful.application.rent.request.RepayOrderRequest;
import com.appkubes.fintech.restful.application.rent.request.RepayPeriodRequest;

/**
 * @description: 还款单
 * @author: xqc
 * @date: 2020/1/6 11:27
 * @params:
 * @return:
 */
public interface IRePayOrderService {


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response<FintechRentRepayOrder> createOrder(RepayBeforeRequest request, FintechUserBaseInfo baseInfo, FintechRentBillHeader header);

    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response<FintechRentRepayOrder> createOrder(FintechRentBillLines lines,RepayPeriodRequest request,
                                                FintechUserBaseInfo baseInfo, FintechRentBillHeader header);


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response paySuc(RepayOrderRequest request);


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response payErr(RepayOrderRequest request);

    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response repaySuc(RepayOrderRequest request);


    /**
     * @description: 创建还款单
     * @author: xqc
     * @date: 2020/1/2 17:27
     * @params:
     * @return:
     */
    Response repayErr(RepayOrderRequest request);
}
